package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bus_market_meal_coupons_info
 * @Author: jeecg-boot
 * @Date:   2023-03-14
 * @Version: V1.0
 */
@Data
@TableName("bus_market_meal_coupons_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_market_meal_coupons_info对象", description="bus_market_meal_coupons_info")
public class BusMarketMealCoupons implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
	/**餐券类型*/
	@Excel(name = "餐券类型", width = 15)
    @ApiModelProperty(value = "餐券类型")
    private String type;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal cost;
	/**说明*/
	@Excel(name = "说明", width = 15)
    @ApiModelProperty(value = "说明")
    private String introduce;
	/**消费项目id*/
	@Excel(name = "消费项目id", width = 15)
    @ApiModelProperty(value = "消费项目id")
    private String consumeProjectId;

    @TableField(exist = false)
    private String hotelName;
    @TableField(exist = false)
    private String typeName;
    @TableField(exist = false)
    private Integer count;

    @TableField(exist = false)
    private Integer notClaimed;

    @TableField(exist = false)
    private Integer received;

    @TableField(exist = false)
    private Integer used;
    @TableField(exist = false)
    private Integer voided;
}
